<!DOCTYPE>
<HTML>
<head>
	<title>最新文章</title>
	<#include "meta.ftl" >
	<link type="text/css" rel="stylesheet" href="style/tog.css">
</head>

<body>
	<div class="detail-right-top border">
		<div class="detail-right-title">最新文章</div>
		<div>
			<ul class="detail-list">
			<#if latestArticles??>
        	<#list latestArticles as article>
    			<li>
		        	<a class="tit" title="${(article.title)!""}" target="_blank" href="${(article.categoryCode)!""}/d${(article.typeCode)!""}${(article.id)?string("#")}.html">
    				<#if ((article.title)!"")?length lt 18>
					${(article.title)!""}
					<#else> 
					     ${(article.title)?substring(0,17)}...
					</#if>
					</a>
    			</li>
            </#list>
            </#if>
			</ul>
		</div>
	</div>
	<div class="detail-right-bottom border">
		<div class="detail-right-title">最热文章</div>
		<div>
			<ul class="detail-list">
			<#if hotArticles??>
        	<#list hotArticles as article>
    			<li>
    				<a class="tit" title="${(article.title)!""}" target="_blank" href="${(article.categoryCode)!""}/d${(article.typeCode)!""}${(article.id)?string("#")}.html">
    				<#if ((article.title)!"")?length lt 18>
					${(article.title)!""}
					<#else> 
					     ${(article.title)?substring(0,17)}...
					</#if>
					</a>
    			</li>
            </#list>
            </#if>
			</ul>
		</div>
	</div>
</body>
</HTML>